package day10;

public class Actionimpl implements IAction{
    //接口的实现类当中要重写接口的所有抽象方法

    @Override
    public void start() {
        System.out.println("开始");
    }

    @Override
    public void end() {
       System.out.println("结束");
    }

    @Override
    public void eat() {
       System.out.println("吃饭");
    }

    @Override
    public void sleep() {
        System.out.println("睡觉");
    }
    
    
}
